home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20031118-20041115
/
000020_anthonypieper@cs.com_Wed Nov 26 11:07:25 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2004-11-14
|
3KB
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: anthonypieper@cs.com (newexpectuser)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problem in Kermit trying to get a file while sending it at the same time
Date: 26 Nov 2003 07:31:10 -0800
Organization: http://groups.google.com
Lines: 53
Message-ID: <f0bb0f39.0311260731.11d9eb29@posting.google.com>
References: <f0bb0f39.0311250532.1b93aad@posting.google.com> <slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: 209.251.39.194
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1069860670 26836 127.0.0.1 (26 Nov 2003 15:31:10 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 26 Nov 2003 15:31:10 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14696
Looking at Case Study #10, this tells me there would need to be two
scripts running, 1 on the Branch machine to "send" the files and 1 on
the HQ machine to "set receive" the files.
My case is a little different, my HQ machine is the one running the
Kermit Script (logging onto the Branch machine, changing to the
directory where the file resides on the remote machine and doing a
mget * command), so this example may not help me, unless I broke up
the scripts into two.
The issue with doing that is the Branch machine is a secure ftp server
and cannot communicate over to the HQ machine for security reasons.
Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu>...
> In article <f0bb0f39.0311250532.1b93aad@posting.google.com>,
> newexpectuser wrote:
> : I ran across this error as the scenerio describes. Both are trying to
> : connect using SSH and CKERMIT.
> :
> : I am running a Kermit script called DROPOFF trying to send TESTFILE to
> : a remote server (it is a 2meg file) at the same time I am running a
> : Kermit PICKUP trying to mget files (including the TESTFILE) from this
> : same server in the same directory.
> :
> : What is happening is, PICKUP ends first and has a partial file of
> : TESTFILE and DROPOFF gets 74% done (according to Kermit) and then
> : comes back with the error message "Last error: FAILURE: Error writing
> : data" and it keeps around the partial file (74% of it).
> :
> : I'm not sure why this is happening and how to avoid it. It is a
> : realtime scenerio where somebody may be dropping off a file in a
> : directory, while the other script is trying to get all the files out
> : of this directory.
> :
> You answered your own question:
>
> : I am running a Kermit script called DROPOFF trying to send TESTFILE to
> : a remote server (it is a 2meg file) at the same time I am running a
> : Kermit PICKUP trying to mget files (including the TESTFILE) from this
> : same server in the same directory.
>
> The server does not have permission to write to a file that another
> process has open for reading. Nor would you want it to! Please read
> about transaction processing here:
>
> http://www.columbia.edu/kermit/case10.html
>
> and here:
>
> http://www.columbia.edu/kermit/ftpscripts.html#tp
>
> to see the kinds of things you need to do.
>
> - Frank